Skip to content

Conversation

@jarkkokoivikko-code-q
Copy link
Contributor

Generate xtensor.hpp into ${CMAKE_CURRENT_BINARY_DIR} instead of top- level ${CMAKE_BINARY_DIR}.

Expose ${CMAKE_CURRENT_BINARY_DIR} via BUILD_INTERFACE so consumers can find the generated header at build time while keeping install paths unchanged.

Generate xtensor.hpp into ${CMAKE_CURRENT_BINARY_DIR} instead of top-
level ${CMAKE_BINARY_DIR}.

Expose ${CMAKE_CURRENT_BINARY_DIR} via BUILD_INTERFACE so consumers can
find the generated header at build time while keeping install paths
unchanged.
@JohanMabille
Copy link
Member

Sweet!

@JohanMabille JohanMabille merged commit 6781c02 into xtensor-stack:master Jul 12, 2025
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants